package com.VolunteerPlatform.Service.AdminService;

import com.VolunteerPlatform.Dao.AdminLoginDao;
import com.VolunteerPlatform.Entity.AdminInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by DoveXL on 2018/12/4.
 */

public interface AdminInfoService {


    public AdminInfo getAdminLoginService(String UserName,String Password,String UserStatus);
    public int updateAdminInfoService(String UserName,String RealName,String Password,String UserStatus);
    public int insertAdminInfoService(String UserName,String RealName,String Password,String UserStatus);
    public AdminInfo findAdminByNameService(String UserName);
    public List<AdminInfo> getAllAdminInfoService(String UserName, String Password, String UserStatus,int Page,int PageList);
}
